export default {
  lazy: true,
  tip: false,
  simplePage: true,
  searchShow: true,
  searchMenuSpan: 6,
  dialogWidth: '60%',
  tree: true,
  border: true,
  index: true,
  selection: false,
  viewBtn: true,
  menuWidth: 400,
  dialogClickModal: false,
  refreshBtn: false,
  columnBtn: false,
  stripe: true,
  align:'center',
  excelBtn: false,
  column: [
    {
      label: "名称",
      prop: "name",
      type: "input",
      rules: [{
        required: true,
        message: "请输入名称",
        trigger: "blur"
      }],
      span: 24
    },
    {
      label: "备注",
      prop: "note",
      type: "textarea",
      span: 24
    },
    {
      label: "parentId",
      prop: "parentId",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否发布",
      prop: "status",
      type: 'radio',
      dicData:[{
        label: '否',
        value: 0
      }, {
        label: '是',
        value: 1
      }],
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      search: true
    },
    {
      label: "是否用于岗位管理",
      prop: "code",
      type: "radio",
      dicData: [{
        label: '否',
        value: '0'
      }, {
        label: '是',
        value: '1'
      }],
      span: 24
    },
  ]
}
